//package com.lsq.tucao.login.config;
//
//import com.lsq.tucao.login.handler.HttpResponseInterceptorHandler;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.EnableWebMvc;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//
///**
// * @version 1.0
// * @Author: linshouqiang
// * @Description:
// * @Date: Created in 22:24 2021/3/21
// */
//@EnableWebMvc
//@Configuration
//public class WebConfig extends WebMvcConfigurerAdapter {
//
/**
 跨域问题配置 已在网关处配置
 */
//    @Bean
//    HttpResponseInterceptorHandler sessioninterceptor() {
//        return new HttpResponseInterceptorHandler();
//    }
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(sessioninterceptor());
//    }
//
//}
